package com.test.loading;

import java.util.ArrayList;

/**
 *
 */
public class Scene {

	// Scene Information
	private float[] texCoords;
	private short[] indices;
	private float[] normalsCoords;
	private ArrayList<Frame> frames = new ArrayList<Frame>();

	/**
	 * Gets the Frames List of this Scene
	 * 
	 * @return ArrayList<Frame> of this Scene
	 */
	public ArrayList<Frame> getFramesList() {
		return frames;
	}

	/**
	 * Gets the Current Frames List of this Scene
	 * 
	 * @return Frame[] of this Scene
	 */
	public Frame[] getFrames() {

		Frame[] framesArray = new Frame[frames.size()];
		frames.toArray(framesArray);

		return framesArray;
	}

	/**
	 * Gets the Frames Size of this Scene
	 * 
	 * @return int - Frames Size
	 */
	public int getFramesSize() {
		return frames.size();
	}

	/**
	 * Gets the Texture Coordinates of this Scene
	 * 
	 * @return
	 */
	public float[] getTextureCoordinates() {
		return texCoords;
	}

	/**
	 * Sets the Texture Coordinates of this Scene
	 * 
	 * @param TextureCoordinates
	 *            Coordinates to be Used
	 */
	public void setTexCoordinates(float[] texCoords) {
		this.texCoords = texCoords;
	}

	/**
	 * Gets the Indice's Array of this Scene
	 * 
	 * @return short[] - Indice's Array
	 */
	public short[] getIndices() {
		return indices;
	}

	/**
	 * Sets the Indice's Array of this Scene
	 * 
	 * @param indices
	 *            New Indices Coordinates to be Used
	 */
	public void setIndices(short[] indices) {
		this.indices = indices;
	}

	/**
	 * Gets the Normals Coordinates of this Scene
	 * 
	 * @return float[] - Normals Coordinates
	 */
	public float[] getNormalsCoordinates() {
		return normalsCoords;
	}

	/**
	 * Sets the Normals Coordinates of this Scene
	 * 
	 * @param normals
	 *            New Normals Array to be Used
	 */
	public void setNormalsCoordinates(float[] normals) {
		this.normalsCoords = normals;
	}
}
